package hust.hiepdv.javaproject.constant;

import java.net.InetAddress;

public interface Constant {
	public static final int PLAYER_NUM = 4;
	public static final int SERVER_TCP_PORT = 9999;
	public static final int SERVER_UDP_PORT = 8888;
	public static final int DATAGRAM_SIZE = 1024;	
	public static String SERVER_IP = "192.168.1.100";
	
	public static int TIME_SLEEP = 20;
	public static int PAD1_Y = 551;
	public static int PAD1_INIT_X = 250;
	public static int PAD2_X = 39;
	public static int PAD2_INIT_Y = 250;
	public static int PAD3_Y = 39;
	public static int PAD3_INIT_X = 250;
	public static int PAD4_X = 551;
	public static int PAD4_INIT_Y = 250;
	public static int TABLE_SIZE = 600;
	public static int BALL_SIZE = 25;
	public static int PAD_LENGTH = 100;
	public static float BALL_INIT_X = 300 + 12.5f;
	public static float BALL_INIT_Y = 300 + 12.5f;
	
	public static String SPLITER = "#";
	public static final int BUSY_MSG = 0;
	public static final int CLIENT_STOP_PLAY_MSG = 1;
	public static final int JOIN_GAME_MSG = 2;
	public static final int STOP_GAME = 3;
	public static final int JOIN_SUCCESS_MSG = 4;
	public static final int DATA_MSG = 5;
	public static final int START_GAME = 6;
}
